import request from '@/utils/request'

// 查询注册详情列表
export function listChatWsRegisterDetail(query) {
  return request({
    url: '/business/chatWsRegisterDetail/list',
    method: 'get',
    params: query
  })
}

// 查询注册详情详细
export function getChatWsRegisterDetail(id) {
  return request({
    url: '/business/chatWsRegisterDetail/' + id,
    method: 'get'
  })
}

// 新增注册详情
export function addChatWsRegisterDetail(data) {
  return request({
    url: '/business/chatWsRegisterDetail',
    method: 'post',
    data: data
  })
}

// 修改注册详情
export function updateChatWsRegisterDetail(data) {
  return request({
    url: '/business/chatWsRegisterDetail',
    method: 'put',
    data: data
  })
}

// 删除注册详情
export function delChatWsRegisterDetail(id) {
  return request({
    url: '/business/chatWsRegisterDetail/' + id,
    method: 'delete'
  })
}
